package com.example.building_material_mannager.service.impl;

import com.example.building_material_mannager.entity.User;
import com.example.building_material_mannager.mapper.UserMapper;
import com.example.building_material_mannager.service.UserService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
@Service
public class UserServiceImpl implements UserService {

    @Resource
    UserMapper userMapper;

    @Override
    public User verifyUserByUtel(String utel) {
        User user = userMapper.selectUserByUtel(utel);
        return user;
    }
}
